<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>&{'app.title'}</title>
<link rel="shortcut icon" type="image/png" href="@{'/public/images/favicon.png'}">
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/bootstrap.min.css'}">
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/bootstrap-theme.min.css'}">
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/font-awesome.min.css'}">
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/play-weixin-sign.css'}">
</head>
<body>

<div class="sign">
	<h1>有微信&nbsp;<i>console</i></h1>
	<div class="form">
		<form id="sign-in-form" action="@{Admin.authenticate}" method="post">
			<h3>管理员登录</h3>
			#{if flash.error != null}
			<p class="error">${flash.error}</p>
			#{/if}
			#{elseif flash.success != null}
			<p class="success">${flash.success}</p>
			#{/elseif}
			<div class="form-group">
				<label for="account" class="sr-only">account</label>
				<input id="account" name="account" type="text" placeholder="昵称/电子邮件/手机" class="form-control input-lg" autofocus required>
				<label for="password" class="sr-only">password</label>
				<input id="password" name="password" type="password" placeholder="登录密码" class="form-control input-lg" required>
			</div>
			<button class="btn btn-primary btn-block btn-lg">登录</button>
		</form>
	</div>
	<p>&copy;&nbsp;2014&nbsp;ufrog.net</p>
</div>

</body>
</html>
